Deep Learning-Based Refactoring with Formally Verified Training Data
نویسندگان
چکیده
Refactoring source code has always been an active area of research. Since the uprising various deep learning methods, there have several attempts to perform transformation with use neural networks. More specifically, Encoder-Decoder architectures used transform similarly a Neural Machine Translation task. In this paper, we present learning-based method refactor code, which prototyped for Erlang. Our two major components: localizer and refactoring component. That is, first localize snippet be refactored using recurrent network, then generate alternative Sequence-to- Sequence architecture. could as extension already existing AST-based approaches since it is capable transforming syntactically incomplete code. We train our models on automatically generated data sets, based formally verified definitions by attribute grammar-based sampling.
منابع مشابه
Assured Reinforcement Learning with Formally Verified Abstract Policies
We present a new reinforcement learning (RL) approach that enables an autonomous agent to solve decision making problems under constraints. Our assured reinforcement learning approach models the uncertain environment as a high-level, abstract Markov decision process (AMDP), and uses probabilistic model checking to establish AMDP policies that satisfy a set of constraints defined in probabilisti...
متن کاملFormally Verified, Tag-Based Security Monitors
Recent advances in hardware design have demonstrated mechanisms allowing a wide range of low-level security policies (or micro-policies) to be expressed using rules on metadata tags. We propose a methodology for defining and reasoning about such tag-based reference monitors in terms of a high-level “symbolic machine,” and we use this methodology to define and formally verify micro-policies for ...
متن کاملFormally Verified Modular Semantics
This chapter presents the results of the validation and verification of a crucial component of BOS, a large safety-critical system that decides when to close and open the Maeslantkering, a storm surge barrier near the city of Rotterdam in the Netherlands. BOS was specified in the formal language Z and model checking has been applied to some of its subsystems during its development. A lightweigh...
متن کاملFormally Verified System Initialisation
The safety and security of software systems depends on how they are initially configured. Manually writing program code that establishes such an initial configuration is a tedious and error-prone engineering process. In this paper we present an automatic and formally verified initialiser for component-based systems built on the general-purpose microkernel seL4. The construction principles of th...
متن کاملFormally Verified On-Line Diagnosis
A recon gurable fault tolerant system achieves the attributes of dependability of operations through fault detection fault isolation and recon guration typically referred to as the FDIR paradigm Fault diagnosis is a key component of this approach requiring an accurate deter mination of the health and state of the system An imprecise state assessment can lead to catastrophic failure due to an op...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Híradástechnika
سال: 2023
ISSN: ['2061-2079', '0018-2028', '2061-2125']
DOI: https://doi.org/10.36244/icj.2023.5.1